
export function getTheHeightOfTheNavigationBar() {
    const headerEl = document.querySelector('.ant-layout-header');
    return headerEl?.getBoundingClientRect().height ?? 80
}

export function calculateTheHeightIfFull() {
    return window.innerHeight - getTheHeightOfTheNavigationBar()
}

export function calculateTheHeightIfFullWithPx() {
    return calculateTheHeightIfFull() + "px";
}
